package com.guigu.erp.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Lenovo
 */
@Data
@TableName("m_design_procedure_details")
public class ManufactureDesignProcedureDetails {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_design_procedure_details.ID
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_design_procedure_details.PARENT_ID
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private Integer parentId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_design_procedure_details.DETAILS_NUMBER
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private Integer detailsNumber;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_design_procedure_details.PROCEDURE_ID
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private String procedureId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_design_procedure_details.PROCEDURE_NAME
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private String procedureName;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_design_procedure_details.LABOUR_HOUR_AMOUNT
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private Integer labourHourAmount;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_design_procedure_details.PROCEDURE_DESCRIBE
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private String procedureDescribe;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_design_procedure_details.AMOUNT_UNIT
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private String amountUnit;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_design_procedure_details.COST_PRICE
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private Integer costPrice;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_design_procedure_details.SUBTOTAL
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private BigDecimal subtotal;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_design_procedure_details.MODULE_SUBTOTAL
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private Integer moduleSubtotal;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_design_procedure_details.REGISTER
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private String register;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_design_procedure_details.REGISTER_TIME
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date registerTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_design_procedure_details.DESIGN_MODULE_TAG
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private String designModuleTag;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_design_procedure_details.DESIGN_MODULE_CHANGE_TAG
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private String designModuleChangeTag;
}